<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<div class="block small center login">
    <div class="block_head">
        <div class="bheadl"></div>
        <div class="bheadr"></div>
        <logic:empty name="successMessage">
            <h2>Your request was not successful.</h2>
        </logic:empty>
        <logic:notEmpty name="successMessage">
            <h2>Your request was successful.</h2>
        </logic:notEmpty>
    </div>
    <!-- .block_head ends -->
    
    <div class="block_content clearfix">
        <logic:empty name="successMessage">
            <div class="message errormsg">
                <p>Your request was invalid!</p>
            </div>
            <p>The password reset link was invalid, possibly because it has already been used. Please request a new password reset.</p>
            <p><a class="submit long gray" href="<%=request.getContextPath()%>">back to the site</a></p>
        </logic:empty>
        <logic:notEmpty name="successMessage">
            <p>Your password has been successfully updated. You can sign in with your new password.</p>
            <p><a class="submit long gray" href="<%=request.getContextPath()%>">back to the site</a></p>
        </logic:notEmpty>
    </div>
    <!-- .block_content ends -->
    
    <div class="bendl"></div>
    <div class="bendr"></div>
    
</div>
<!-- .login ends -->